package com.luo90.nodecfg.entity.campaign;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 节点活动属性
 * @author zhangdaihao
 * @date 2016-01-26 11:47:20
 * @version V1.0   
 *
 */
@Entity
@Table(name = "campaign_node_attr_info", schema = "")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class CampaignNodeAttrEntity implements java.io.Serializable {
	/**id*/
	private java.lang.Integer id;
	/**活动ID*/
	private java.lang.Integer nodeInfoId;
	/**attrId*/
	private java.lang.Integer attrId;
	/**value*/
	private java.lang.String value;
	/**属性类型（1:in;2:out）*/
	private java.lang.String infoType;
	
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  id
	 */
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name ="ID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  id
	 */
	public void setId(java.lang.Integer id){
		this.id = id;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  活动ID
	 */
	@Column(name ="NODE_INFO_ID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getNodeInfoId(){
		return this.nodeInfoId;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  活动ID
	 */
	public void setNodeInfoId(java.lang.Integer nodeInfoId){
		this.nodeInfoId = nodeInfoId;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  attrId
	 */
	@Column(name ="ATTR_ID",nullable=false,precision=10,scale=0)
	public java.lang.Integer getAttrId(){
		return this.attrId;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  attrId
	 */
	public void setAttrId(java.lang.Integer attrId){
		this.attrId = attrId;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  value
	 */
	@Column(name ="VALUE",nullable=false,length=100)
	public java.lang.String getValue(){
		return this.value;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  value
	 */
	public void setValue(java.lang.String value){
		this.value = value;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  属性类型（1:in;2:out）
	 */
	@Column(name ="INFO_TYPE",nullable=false,length=255)
	public java.lang.String getInfoType(){
		return this.infoType;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  属性类型（1:in;2:out）
	 */
	public void setInfoType(java.lang.String infoType){
		this.infoType = infoType;
	}
}
